/*
 * funcionesDeConsola.h
 *
 *  Created on: 21/10/2011
 *      Author: utn_so
 */

#ifndef FUNCIONESDECONSOLA_H_
#define FUNCIONESDECONSOLA_H_

#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/mman.h>
#include "estructurasCola.h"
#include <stdint.h>
#include <semaphore.h>
#include "CHS.h"
#include "leerEscribir.h"
#include "PPD.h"
#include "algoritmoPPD.h"
#include "configLoader.h"
#include "list.h"
#include "log.h"

void interpretar(int8_t socket, char* buffer, char* funcion, void* var_cola);
void clean(int8_t socket, char* buffer, uint32_t posInicial, uint32_t posFinal, void* var_cola);
void info(int8_t socket, char *buffer);
void ver_cola(int8_t socket, void* v_cola, char *buffer, uint8_t esLogueo);
void trace(int8_t socket, char* buffer, int32_t *parametros, void* var_cola);
void planificar(char *buffer, int8_t socket , void *var_cola, uint8_t contador_elemento, uint32_t insertados_trace, uint8_t esLogueo);
void enviarAConsola(int8_t socket, char *buffer);
void errorFuncion(char* buffer, uint8_t socket);
void loguear_planificacion(char *buffer);

#endif /* FUNCIONESDECONSOLA_H_ */
